#nullable enable

using System;
using Volo.Abp.Domain.Entities;

namespace PHMEE.Entities.DaqInfo.Ams;

/// <summary>
/// Ams Digital（开关量）
/// </summary>
public class DigitalConfig : Entity<Guid>
{
    /// <summary>
    /// 船舶 Id
    /// </summary>
    public Guid VesselId { get; set; }

    /// <summary>
    /// Ams 开关量的 TagName
    /// </summary>
    public string TagName { get; set; }

    /// <summary>
    /// 机组 Id
    /// </summary>
    public Guid UnitId { get; set; }

    public DigitalConfig(Guid id, Guid vesselId, string tagName, Guid unitId) : base(id)
    {
        VesselId = vesselId;
        TagName = tagName;
        UnitId = unitId;
    }
}